<?php
/**
 * Front controller
 * 
 */
require_once('core/Controller.class.php');

/**
 * Parse path
 */
$params =  !empty($_GET['sc_path']) ? split('/', $_GET['sc_path']) : array();
unset($_GET['sc_path']);

/** 
 * Execute controller
 */
$controller = new Controller($params);
$controller->execute();

?>      